package com.guide.persistence;

import com.guide.domain.Account;
import com.guide.domain.AccountQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper {
    int countByExample(@Param("example") AccountQuery example);

    int deleteByExample(@Param("example") AccountQuery example);

    int deleteByPrimaryKey(Long userId);

    int insert(Account record);

    int insertSelective(Account record);

    List<Account> selectByExample(@Param("example") AccountQuery example,@Param("pageIndex") Integer pageIndex, @Param("limit") Integer limit);

    Account selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") Account record, @Param("example") AccountQuery example);

    int updateByExample(@Param("record") Account record, @Param("example") AccountQuery example);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
}